package com.inftech.mauto.core.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.mingsoft.base.entity.BaseEntity;

/**
 * 
 * ClassName: Order <br/>
 * Function: 订单实体类. <br/>
 * date: 2016年11月15日 下午3:19:59 <br/>
 *
 * @author puyf
 * @version
 * @since JDK 1.7
 */
public class Order extends BaseEntity {

	/**
	 * serialVersionUID
	 * 
	 * @since JDK 1.7
	 */
	private static final long serialVersionUID = 1331429391052021412L;

	/**
	 * 订单编号
	 */
	private String orderCode;

	/**
	 * 用户id
	 */
	private Integer peopleId;

	/**
	 * 车牌号
	 */
	private String carPlateNumber;

	/**
	 * 车辆品牌
	 */
	private String carBrand;

	/**
	 * 车辆型号
	 */
	private String carModel;

	/**
	 * 车辆购买年月
	 */
	private String carBuyDate;

	/**
	 * 车辆购车价格
	 */
	private String carBuyPrice;

	/**
	 * 企业id
	 */
	private Integer enterpriseId;

	/**
	 * 企业名称
	 */
	private String enterpriseName;

	/**
	 * 企业地址
	 */
	private String enterpriseAddress;

	/**
	 * 联系人
	 */
	private String enterpriseContact;

	/**
	 * 企业电话
	 */
	private String enterpriseTel;
	
	/**
	 * 企业gps
	 */
	private String enterpriseGps;
	
	/**
	 * 钣喷图片
	 */
	private String orderImagesStr;

	/**
	 * 钣喷图片
	 */
	private String[] orderImages;

	/**
	 * 订单项目类型(1:钣金喷漆;2:维修保养)
	 */
	private Byte orderItemType;

	/**
	 * 下单时间
	 */
	private Date orderCreateTime;

	/**
	 * 取消时间
	 */
	private Date orderCancelTime;

	/**
	 * 取消原因
	 */
	private String orderCancelReason;

	/**
	 * 取消说明
	 */
	private String orderCancelRemark;

	/**
	 * 审核时间
	 */
	private Date orderCheckTime;

	/**
	 * 审核人id
	 */
	private Integer orderCheckManagerId;

	/**
	 * 审核人
	 */
	private String orderCheckManager;

	/**
	 * 回访时间
	 */
	private Date orderFollowTime;

	/**
	 * 回访人id
	 */
	private Integer orderFollowManagerId;


	/**
	 * 确认时间
	 */
	private Date orderConfirmTime;

	/**
	 * 支付时间
	 */
	private Date orderPayTime;

	/**
	 * 签收时间
	 */
	private Date orderSignTime;

	/**
	 * 评价时间
	 */
	private Date orderCommentTime;

	/**
	 * 关闭时间
	 */
	private Date orderCloseTime;

	/**
	 * 是否出险(0:否;1:是)
	 */
	private Boolean isInsurance;

	/**
	 * 预约时间
	 */
	private Date orderAppointTime;

	/**
	 * 联系人
	 */
	private String orderContact;

	/**
	 * 联系人性别(1:男;2:女)
	 */
	private Byte orderContactSex;

	/**
	 * 联系电话
	 */
	private String orderContactPhone;

	/**
	 * 订单总额
	 */
	private BigDecimal orderTotalAmount;

	/**
	 * 实收金额
	 */
	private BigDecimal orderReceiveAmount;

	/**
	 * 折扣金额
	 */
	private BigDecimal orderDiscountAmount;

	/**
	 * 订单状态(0:未完成;1:已完成;2:已关闭)
	 */
	private Byte orderStatus;

	/**
	 * 审核状态(0:未审核;1:已审核)
	 */
	private Byte orderCheckStatus;

	/**
	 * 确认状态(0:未确认;1:已确认)
	 */
	private Byte orderConfirmStatus;

	/**
	 * 支付状态(0:未支付;1:已支付)
	 */
	private Byte orderPayStatus;

	/**
	 * 签收/使用状态(0:未签收;1:已签收)
	 */
	private Byte orderSignStatus;

	/**
	 * 回访状态(0:未回访;1:已回访)
	 */
	private Byte orderFollowStatus;

	/**
	 * 评价状态(0:未评价;1:已评价)
	 */
	private Byte orderCommentStatus;

	/**
	 * 商品编码
	 */
	private String goodsCodes;

	/**
	 * 订单商品
	 */
	private String orderGoods;
	
	private String carXh;
	private String carDate;
	private Integer carXslc;
	private BigDecimal orderSum;
	private Integer orderXmNum;
	private String orderType;

	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	public String getCarXh() {
		return carXh;
	}

	public void setCarXh(String carXh) {
		this.carXh = carXh;
	}

	public String getCarDate() {
		return carDate;
	}

	public void setCarDate(String carDate) {
		this.carDate = carDate;
	}

	public Integer getCarXslc() {
		return carXslc;
	}

	public void setCarXslc(Integer carXslc) {
		this.carXslc = carXslc;
	}

	public BigDecimal getOrderSum() {
		return orderSum;
	}

	public void setOrderSum(BigDecimal orderSum) {
		this.orderSum = orderSum;
	}

	public Integer getOrderXmNum() {
		return orderXmNum;
	}

	public void setOrderXmNum(Integer orderXmNum) {
		this.orderXmNum = orderXmNum;
	}

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode == null ? null : orderCode.trim();
	}

	public Integer getPeopleId() {
		return peopleId;
	}

	public void setPeopleId(Integer peopleId) {
		this.peopleId = peopleId;
	}

	public Integer getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Integer enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public Byte getOrderItemType() {
		return orderItemType;
	}

	public void setOrderItemType(Byte orderItemType) {
		this.orderItemType = orderItemType;
	}

	public Date getOrderCreateTime() {
		return orderCreateTime;
	}

	public void setOrderCreateTime(Date orderCreateTime) {
		this.orderCreateTime = orderCreateTime;
	}

	public Date getOrderCancelTime() {
		return orderCancelTime;
	}

	public void setOrderCancelTime(Date orderCancelTime) {
		this.orderCancelTime = orderCancelTime;
	}

	public String getOrderCancelReason() {
		return orderCancelReason;
	}

	public void setOrderCancelReason(String orderCancelReason) {
		this.orderCancelReason = orderCancelReason;
	}

	public Date getOrderConfirmTime() {
		return orderConfirmTime;
	}

	public void setOrderConfirmTime(Date orderConfirmTime) {
		this.orderConfirmTime = orderConfirmTime;
	}

	public Date getOrderPayTime() {
		return orderPayTime;
	}

	public void setOrderPayTime(Date orderPayTime) {
		this.orderPayTime = orderPayTime;
	}

	public Date getOrderCommentTime() {
		return orderCommentTime;
	}

	public void setOrderCommentTime(Date orderCommentTime) {
		this.orderCommentTime = orderCommentTime;
	}

	public Date getOrderCloseTime() {
		return orderCloseTime;
	}

	public void setOrderCloseTime(Date orderCloseTime) {
		this.orderCloseTime = orderCloseTime;
	}

	public Boolean getIsInsurance() {
		return isInsurance;
	}

	public void setIsInsurance(Boolean isInsurance) {
		this.isInsurance = isInsurance;
	}

	public BigDecimal getOrderTotalAmount() {
		return orderTotalAmount;
	}

	public void setOrderTotalAmount(BigDecimal orderTotalAmount) {
		this.orderTotalAmount = orderTotalAmount;
	}

	public BigDecimal getOrderReceiveAmount() {
		return orderReceiveAmount;
	}

	public void setOrderReceiveAmount(BigDecimal orderReceiveAmount) {
		this.orderReceiveAmount = orderReceiveAmount;
	}

	public BigDecimal getOrderDiscountAmount() {
		return orderDiscountAmount;
	}

	public void setOrderDiscountAmount(BigDecimal orderDiscountAmount) {
		this.orderDiscountAmount = orderDiscountAmount;
	}

	public Byte getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Byte orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Byte getOrderPayStatus() {
		return orderPayStatus;
	}

	public void setOrderPayStatus(Byte orderPayStatus) {
		this.orderPayStatus = orderPayStatus;
	}

	public Byte getOrderSignStatus() {
		return orderSignStatus;
	}

	public void setOrderSignStatus(Byte orderSignStatus) {
		this.orderSignStatus = orderSignStatus;
	}

	public Byte getOrderCommentStatus() {
		return orderCommentStatus;
	}

	public void setOrderCommentStatus(Byte orderCommentStatus) {
		this.orderCommentStatus = orderCommentStatus;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public Date getOrderAppointTime() {
		return orderAppointTime;
	}

	public void setOrderAppointTime(Date orderAppointTime) {
		this.orderAppointTime = orderAppointTime;
	}

	public String getOrderContact() {
		return orderContact;
	}

	public void setOrderContact(String orderContact) {
		this.orderContact = orderContact;
	}

	public Byte getOrderContactSex() {
		return orderContactSex;
	}

	public void setOrderContactSex(Byte orderContactSex) {
		this.orderContactSex = orderContactSex;
	}

	public String getOrderContactPhone() {
		return orderContactPhone;
	}

	public void setOrderContactPhone(String orderContactPhone) {
		this.orderContactPhone = orderContactPhone;
	}

	public Byte getOrderCheckStatus() {
		return orderCheckStatus;
	}

	public void setOrderCheckStatus(Byte orderCheckStatus) {
		this.orderCheckStatus = orderCheckStatus;
	}

	public Byte getOrderConfirmStatus() {
		return orderConfirmStatus;
	}

	public void setOrderConfirmStatus(Byte orderConfirmStatus) {
		this.orderConfirmStatus = orderConfirmStatus;
	}

	public Date getOrderCheckTime() {
		return orderCheckTime;
	}

	public void setOrderCheckTime(Date orderCheckTime) {
		this.orderCheckTime = orderCheckTime;
	}

	public Date getOrderSignTime() {
		return orderSignTime;
	}

	public void setOrderSignTime(Date orderSignTime) {
		this.orderSignTime = orderSignTime;
	}

	public String getCarPlateNumber() {
		return carPlateNumber;
	}

	public void setCarPlateNumber(String carPlateNumber) {
		this.carPlateNumber = carPlateNumber;
	}

	public String getCarBuyDate() {
		return carBuyDate;
	}

	public void setCarBuyDate(String carBuyDate) {
		this.carBuyDate = carBuyDate;
	}

	public String getCarBuyPrice() {
		return carBuyPrice;
	}

	public void setCarBuyPrice(String carBuyPrice) {
		this.carBuyPrice = carBuyPrice;
	}

	public String getGoodsCodes() {
		return goodsCodes;
	}

	public void setGoodsCodes(String goodsCodes) {
		this.goodsCodes = goodsCodes;
	}

	public String getOrderCancelRemark() {
		return orderCancelRemark;
	}

	public void setOrderCancelRemark(String orderCancelRemark) {
		this.orderCancelRemark = orderCancelRemark;
	}

	public Integer getOrderCheckManagerId() {
		return orderCheckManagerId;
	}

	public void setOrderCheckManagerId(Integer orderCheckManagerId) {
		this.orderCheckManagerId = orderCheckManagerId;
	}

	public String getOrderCheckManager() {
		return orderCheckManager;
	}

	public void setOrderCheckManager(String orderCheckManager) {
		this.orderCheckManager = orderCheckManager;
	}

	public Integer getOrderFollowManagerId() {
		return orderFollowManagerId;
	}

	public void setOrderFollowManagerId(Integer orderFollowManagerId) {
		this.orderFollowManagerId = orderFollowManagerId;
	}

	public Date getOrderFollowTime() {
		return orderFollowTime;
	}

	public void setOrderFollowTime(Date orderFollowTime) {
		this.orderFollowTime = orderFollowTime;
	}

	public Byte getOrderFollowStatus() {
		return orderFollowStatus;
	}

	public void setOrderFollowStatus(Byte orderFollowStatus) {
		this.orderFollowStatus = orderFollowStatus;
	}

	public String getOrderGoods() {
		return orderGoods;
	}

	public void setOrderGoods(String orderGoods) {
		this.orderGoods = orderGoods;
	}

	public String getCarBrand() {
		return carBrand;
	}

	public void setCarBrand(String carBrand) {
		this.carBrand = carBrand;
	}

	public String getCarModel() {
		return carModel;
	}

	public void setCarModel(String carModel) {
		this.carModel = carModel;
	}

	public String getEnterpriseAddress() {
		return enterpriseAddress;
	}

	public void setEnterpriseAddress(String enterpriseAddress) {
		this.enterpriseAddress = enterpriseAddress;
	}

	public String getEnterpriseTel() {
		return enterpriseTel;
	}

	public void setEnterpriseTel(String enterpriseTel) {
		this.enterpriseTel = enterpriseTel;
	}

	public String getEnterpriseContact() {
		return enterpriseContact;
	}

	public void setEnterpriseContact(String enterpriseContact) {
		this.enterpriseContact = enterpriseContact;
	}

	public String[] getOrderImages() {
		return orderImages;
	}

	public void setOrderImages(String[] orderImages) {
		this.orderImages = orderImages;
	}

	public String getOrderImagesStr() {
		return orderImagesStr;
	}

	public void setOrderImagesStr(String orderImagesStr) {
		this.orderImagesStr = orderImagesStr;
	}

	public String getEnterpriseGps() {
		return enterpriseGps;
	}

	public void setEnterpriseGps(String enterpriseGps) {
		this.enterpriseGps = enterpriseGps;
	}
}